package com.groupsix.service;

import com.groupsix.utils.PageInfo;
import com.groupsix.entity.Dormgrade;

import java.util.List;

/**
 * @author 董盛昌
 * @Title: ${file_name}
 * @Package ${package_name}
 * @Description: 宿舍卫生业务接口
 * @date 2021/10/17 22:02
 */
public interface DormgradeService {

    //分页查询
    public PageInfo findPageInfo(Integer dId, String dDormbuilding, Integer pageIndex, Integer pageSize);

    public int addDormgrade(Dormgrade dormgrade);    //添加宿舍信息
    public int deleteDormgrade(Integer gId);   //删除宿舍信息
    public int updateDormgrade(Dormgrade dormgrade); //修改宿舍信息
    public Dormgrade findDormgradeById(Integer gId);
    public List<Dormgrade> getAll();
}
